home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / A-Z / Q / QuickDraw3D / Simple QuickDraw 3D View / UCustomViewerDocument.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  952 b   |  40 lines  |  [TEXT/CWIE]

  1. // UCustomViewerDocument.h
  2. // Copyright © 1996 by Apple Computer, Inc. All rights reserved. 
  3.  
  4. #ifndef __UCustomViewerDocument__
  5. #define __UCustomViewerDocument__
  6.  
  7. #ifndef __UDOCUMENT__
  8. #include "UDocument.h"
  9. #endif
  10.  
  11. #ifndef __UQD3DViewer__
  12. #include "UQD3DViewer.h"
  13. #endif
  14.  
  15. class TCustomViewerWindow;
  16. //----------------------------------------------------------------------------------------
  17. // TCustomViewerDocument
  18. //----------------------------------------------------------------------------------------
  19.  
  20. class TCustomViewerDocument: public TDocument
  21. {
  22.     MA_DECLARE_CLASS;
  23.     
  24.   public:
  25.     TCustomViewerDocument(); 
  26.         // Constructor
  27.     virtual ~TCustomViewerDocument();
  28.         // Destructor
  29.     virtual void  ICustomViewerDocument();
  30.     virtual void  DoMakeViews(Boolean forPrinting); // Override
  31.     virtual void  SetViewerBackground();
  32.     virtual void  SetViewerFlags();
  33.  
  34.     private:
  35.     TQD3DViewerView*         fQD3DView1;
  36.     TCustomViewerWindow*     fCustomViewerWindow;
  37. };
  38.  
  39. #endif
  40.